﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


 class Program大端
{

  
    static unsafe  void Main大端(string[] args)
    {
        int a = 1;//00 10
        //int *p= &a;
        //char *a=（char *）（&a)；
        //*a=*（char *）（&a)

        
        int res = *(char*)(&a);

        Console.WriteLine(res);
        if (res == 0)//00 10
        {
            Console.WriteLine("大端");
        }
        else//10 00 
        {
            Console.WriteLine("小端");
        }
    }
}